package yns.springboot.guide.demo.data.mongodb.driver;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import io.micrometer.core.instrument.binder.mongodb.MongoCommandTagsProvider;

@Configuration(proxyBeanMethods = false)
public class MongoCommandTagsProviderConfiguration {

	@Bean
	public MongoCommandTagsProvider customCommandTagsProvider() {
		return new CustomCommandTagsProvider();
	}

}
